package com.sgu6.sgu6_machine.dto;

import java.io.Serializable;

public class BarnStockParamsDto implements Serializable {


    /**
     * machineNo : 19702605053
     * cmd : 1
     * stock : 10
     * empty : false
     */

    private String machineNo;
    private int cmd;
    private int stock;
    private boolean empty;

    public BarnStockParamsDto(String machineNo, int cmd, int stock, boolean empty) {
        this.machineNo = machineNo;
        this.cmd = cmd;
        this.stock = stock;
        this.empty = empty;
    }

    public String getMachineNo() {
        return machineNo;
    }

    public void setMachineNo(String machineNo) {
        this.machineNo = machineNo;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public boolean isEmpty() {
        return empty;
    }

    public void setEmpty(boolean empty) {
        this.empty = empty;
    }
}
